<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改卡账关系')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-paeaDsLink-edit" th:object="${paeaDsLink}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">模式：</label>
                <div class="col-sm-8">
                    <input name="opc1AppgMode" th:field="*{opc1AppgMode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">数据日期：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        <input name="opc1AppgDate" th:value="${#dates.format(paeaDsLink.opc1AppgDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">卡号：</label>
                <div class="col-sm-8">
                    <input name="opc1CardNo" th:field="*{opc1CardNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">帐户：</label>
                <div class="col-sm-8">
                    <input name="opc1Account" th:field="*{opc1Account}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">Bancs帐户类型：</label>
                <div class="col-sm-8">
                    <input name="opc1HostType" th:field="*{opc1HostType}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">Bancs帐户类型：</label>
                <div class="col-sm-8">
                    <input name="opc1HostCat" th:field="*{opc1HostCat}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">主帐户标志：</label>
                <div class="col-sm-8">
                    <input name="opc1IsPrimary" th:field="*{opc1IsPrimary}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">渠道类型：</label>
                <div class="col-sm-8">
                    <input name="opc1Channel" th:field="*{opc1Channel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">货币号：</label>
                <div class="col-sm-8">
                    <input name="opc1Currency" th:field="*{opc1Currency}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script type="text/javascript">
        var prefix = ctx + "query/paeaDsLink";
        $("#form-paeaDsLink-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-paeaDsLink-edit').serialize());
            }
        }

        $("input[name='opc1AppgDate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>